﻿using System;
namespace Chenxin.Lib.Business.Entity
{
    /// <summary>
    /// 实体类ContractCommisionAdjustInfo 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class ContractCommisionAdjustInfo
    {
        public ContractCommisionAdjustInfo()
        { }
        #region Model
        private Guid _recordid;
        private Guid _contractid;
        private string _contractcode;
        private Guid _contractcityid;
        private string _contractcity;
        private Guid _contractcompanyid;
        private string _contractcompany;
        private int? _adjusttype;
        private string _adjustreason;
        private int? _discounttype;
        private string _adjustdescription;
        private decimal? _adjustmoney;
        private decimal? _beforeadjust;
        private decimal? _afteradjust;
        private DateTime? _addtime;
        private Guid _addemployeeid;
        private string _addemployee;
        private Guid _adddepartid;
        private string _adddepart;
        private Guid _addcompanyid;
        private string _addcompany;
        private string _addcity;
        private Guid _addcityid;
        private int? _status;
        /// <summary>
        /// 
        /// </summary>
        public Guid RecordId
        {
            set { _recordid = value; }
            get { return _recordid; }
        }
        /// <summary>
        /// 合同ID
        /// </summary>
        public Guid ContractId
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 合同编号
        /// </summary>
        public string ContractCode
        {
            set { _contractcode = value; }
            get { return _contractcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid ContractCityId
        {
            set { _contractcityid = value; }
            get { return _contractcityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ContractCity
        {
            set { _contractcity = value; }
            get { return _contractcity; }
        }
        /// <summary>
        /// 合同归属公司
        /// </summary>
        public Guid ContractCompanyId
        {
            set { _contractcompanyid = value; }
            get { return _contractcompanyid; }
        }
        /// <summary>
        /// 合同归属公司
        /// </summary>
        public string ContractCompany
        {
            set { _contractcompany = value; }
            get { return _contractcompany; }
        }
        /// <summary>
        /// 调整类型：10=调整上家应收；20=调整下家应收；30=调整上家咨询费；40=调整下家咨询费
        /// </summary>
        public int? AdjustType
        {
            set { _adjusttype = value; }
            get { return _adjusttype; }
        }
        /// <summary>
        /// 调整原因：增加收入、坏账、解约、折佣、其他
        /// </summary>
        public string AdjustReason
        {
            set { _adjustreason = value; }
            get { return _adjustreason; }
        }
        /// <summary>
        /// 折佣类型：非必填，在AdjustReason=坏账、解约、折佣、其他时填写
        /// </summary>
        public int? DiscountType
        {
            set { _discounttype = value; }
            get { return _discounttype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AdjustDescription
        {
            set { _adjustdescription = value; }
            get { return _adjustdescription; }
        }
        /// <summary>
        /// 调整额，可填负数
        /// </summary>
        public decimal? AdjustMoney
        {
            set { _adjustmoney = value; }
            get { return _adjustmoney; }
        }
        /// <summary>
        /// 调整前此款项金额
        /// </summary>
        public decimal? BeforeAdjust
        {
            set { _beforeadjust = value; }
            get { return _beforeadjust; }
        }
        /// <summary>
        /// 调整后此款项金额
        /// </summary>
        public decimal? AfterAdjust
        {
            set { _afteradjust = value; }
            get { return _afteradjust; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? Addtime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid AddEmployeeId
        {
            set { _addemployeeid = value; }
            get { return _addemployeeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AddEmployee
        {
            set { _addemployee = value; }
            get { return _addemployee; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid AddDepartId
        {
            set { _adddepartid = value; }
            get { return _adddepartid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AddDepart
        {
            set { _adddepart = value; }
            get { return _adddepart; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid AddCompanyId
        {
            set { _addcompanyid = value; }
            get { return _addcompanyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AddCompany
        {
            set { _addcompany = value; }
            get { return _addcompany; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AddCity
        {
            set { _addcity = value; }
            get { return _addcity; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid AddCityId
        {
            set { _addcityid = value; }
            get { return _addcityid; }
        }
        /// <summary>
        /// 1=正常;-1=作废
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        #endregion Model

    }
}

